<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>{{ title }}</title>
</head>
<body>
    <h1>Upload File</h1>
    <form action="/upload" method="post" enctype="multipart/form-data" accept-charset="utf-8">
        {% csrf_token %}
        <label>UID: </label><input type="text" name="uid", value="" /><br>
        <label>TYPE:</label><input type="text" name="type", value="" /><br>
        <label>PIC: </label><input type="file" name="pic" value="" /><br>
        <button>Submit</button>
    </form>
</body>
</html> <a href="upload.html" id="" title="upload">upload</a>